import opie
import time
import marshal
import types


em = opie.event_manager()
e = em.get_events()

for x in e:
	if time.time()>e.exec_time:
		m = marshal.loads(e.func_code)
		func = types.Functiontype(m, globals(), e.func_name)
		print round(func(1000, .05))
	
